package com.example.ljy;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class SysSettingActivity extends AppCompatActivity {
    Button button;
    EditText JGeditText;
    EditText MemberEditText;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.sys_set_activity);
        button =findViewById(R.id.ok_btn);
        JGeditText= findViewById(R.id.celiang_time);
        MemberEditText = findViewById(R.id.celiang_member);
        JGeditText.setText(Allstatic.CLjiange);
        MemberEditText.setText(Allstatic.CLMember);
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Allstatic.CLjiange = JGeditText.getText().toString();
                Allstatic.CLMember = MemberEditText.getText().toString();
                finish();
               /* Intent intent = new Intent(SysSettingActivity.this,QuXianActivity.class);
                startActivity(intent);*/
            }
        });
    }

}
